center box: Add more documentation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Jun 2017 01:48:41 +0000 (21:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Jun 2017 01:48:41 +0000 (21:48 -0400)
gtk/gtkcenterbox.c

index 495a062c235db36a10cb9f4b12d3ad8f12c7d0af..378fc968d71d0230eb2e9ab7a858bae30bed7962 100644 (file)
  * To add children to GtkCenterBox, use gtk_center_box_set_start_widget(),
  * gtk_center_box_set_center_widget() and gtk_center_box_set_end_widget().
  *
+ * The sizing and positioning of children can be influenced with the
+ * align and expand properties of the children.
+ *
+ * # GtkCenterBox as GtkBuildable
+ *
+ * The GtkCenterBox implementation of the GtkBuildable interface supports
+ * placing children in the 3 positions by specifying “start”, “center” or
+ * “end” as the “type” attribute of a <child> element.
+ *
  * # CSS nodes
  *
  * GtkCenterBox uses a single CSS node with name box.